Test Tone Generator V2.4

 

Features

The Test Tone Generator (TTG) turns the PC into a function generator for testing or demonstration, sound tuning, education and many other purposes.

Features include:

·       Constant and swept tones;

·       3 wave forms (Sine/square/triangle);

·       Extensive scripting capabilities (Macros), see below for Details and Syntax (R);

·       Preset storage and recall(R);

·       Change frequencies directly by keyboard, mouse button or slider or by musical semitones;

·       Multi sound card support (R).

·       Switches for left/right channel on/off and in/out of phase (R).

(R) = Registered version only

 

What’s New in this version?

·       Compatibility with unusual sound card drivers improved

·       Memory buttons can be renamed

 

Registration

You can register this software to access the additional features here

 

Limitations of the unregistered version

·            Only 1 sound card supported

·            No scripting

·            No sweep presets

·            No individual channel/phase switches

 

Scripts

Scripts or Macros are a powerful tool to program the Test Tone Generator. Scripts can be written in any text editor (e.g. Notepad) and should be saved with a .tts file extension.

Scripts can be executed in three different ways:

  1. Select File->Run Script in the Menu, select the filename, and the script will be run.
  2. Start the TTG exe-file with the filename of the script as a parameter. This will run the script and then exit the program. This is ideal if you want to call the script from a different program or don’t want any user interaction.
  3. Drag and drop the script file onto the TTG exe-file. This will work in the same way as 2.

 

Script Syntax Rules

Every Line is one command, and these commands exist:

Tone – Generates a fixed frequency tone

Sweep - Generates a frequency sweep

Pause - Pauses the sequence and waits for confirmation to continue from user

Delay - Delays the script by a given number of seconds

Rem – For commenting, line will be ignored by the program

Repeat - Repeats the complete Sequence (infinitely)

End - Ends the sequence

The last command of a script MUST be Repeat or End.

 

Syntax:

tone [frequency] [duration] [amplitude] [waveform*]

sweep [start frequency] [stop frequency] [duration] [amplitude] [waveform*]

delay [duration]

rem This is a comment

pause

end

repeat

 

* The waveforms are: 0=sine, 1=square, 2=triangular.

 

Valid ranges for the parameters are:

Frequencies: 20-22000 (Hertz)

Durations: >1 (second), sweep duration is limited by the computer resources

Amplitude: -100 to 0 (dB), 0dB is the maximum level.

 

An example script would be:

tone 100 1 0 0

sweep 200 500 3 -1 0

pause

tone 300 1 -2 0

delay 3

tone 400 1 -3 0

end